Where onboard a boat is the transom located?

the back of the boat, also known as the stern

It's the flat part at the back of the boat (the stern) where you would clamp an outboard motor.