L1 and L2 are the legs, and h is the hypotenuse. To find the trajectory, do the following:
Measure the distance horizontally away from the toilet bowl (L1). Next, measure the distance vertically from the toilet bowl (L2). Finally, solve for h. The formula for Pythagorean's Theorem is as follows: