Go to Image in the Menu Bar and select Canvas Size. You can also use the Alt Ctrl C shortc…
To rotate move the cursor away from a corner until you see the Rotate icon and then drag. …