Joey and Krysta are at the Richmond Fair and are waiting in line to ride on the Ferris Wheel. They are trying to figure how long they will need to wait before they get to the front of the line. The more people in the line ahead of them, the longer they will need to wait.
p = the number of people in line ahead of Joey and Krysta
w = the length of time Joey and Krysta will need to wait