When Abby works 6 hours at the local pool as a lifeguard she earns $57.00. When she works 18 hours she earns $171.00. Which equation represents Abby’s earnings m for any number of hours h?

A) m=57.00h

B) m=9.50h

C) m=6.00h

D) m=18.00h