Use 2x4s to construct the frame where it will connect to the walls in the corner. Secure the frame ... There are many ideas ...