Comment on Activity 3

Since x is the distance of the image of the object in the mirror from the left edge of the figure, the remaining distance to the right edge is D-x. Both triangles are right triangles, and the remaining distances are hypotenuses. By the Pythagorean Theorem, the distance from P to R is p2+x2, and the distance from Q to R is q2+(D-x)2. Thus, the length L(x) of the toatal path is the sum of these two lengths: L(x)=p2+x2+q2+(D-x)2.