Directions:
In the applet the symbol for object distance is p (in class we use Do) and the symbol for the image distance is q (we use Di).