If you know the side length a of your work area as well as the side length h of your parallelogram, you can do the following using the Pythagorean theorem: