Insert the key into the seat lock, turn it counterclockwise, and then pull the seat off.
Fit the slot in the seat onto the projection as shown, orient the seat in order to insert the seat bracket into the seat lock, push the rear of the seat down to lock it in place, and then remove the key.
Make sure that the seat is properly secured before riding.