Answer:
2.5 hrs;t/c=h
Explanation
The easiest way to do this is by setting up your units so that they cancel to give you what you want. You are looking for hours, and you are given both a rate ($5/hour) and a final amount ($12.50).
($12.50) / ($5/hour) = 2.5 hours
Now just convert 2.5 hours into actual time units, (2 hours, 30 minutes)
Let's write this into a variable equation. Let's call t the "total cost" and c the "hourly cost" and h "hours rented."
t/c = h