Be sure the measurement specified for Y is also parallel to the direction of the hinge! The shape of the corners, rounded or square, will be specified in steps 3 and 4.