If 12 pies were eaten in 60 minutes , you must divide the denominator (60) by 1 (the per minute). Whatever you do to the bottom, you must do to the top, so 60 / 12 is 5.
After subtracting the $60 base fee, you can just divide the hours paid for by the hourly wage and find out how many hours were worked. Hope this helps!