You should now have two legs with working joints, and a tray with a lip. Now line the legs up to the edges of the tray, mark the spaces, and drill holes. I drilled the top hole for a leg, put a screw in, then drilled the bottom and did the same. This way they stay aligned, no measurement needed. If I line the top of the leg with the top of the tray, it fits just right for me. If you're skinnier/fatter, you'll need to adjust the leg height. You can do this by drilling a bunch of evenly spaced holes in the legs (every 1/2 in) and then two holes in the tray. This way you can unscrew the tray, and choose a different height. Once you find one that works, you wont need to change it.