The total cost \( C \) of renting a bike for \( H \) hours can be represented by the equation:
\[ C = 2H + 5 \]
This equation accounts for the one-time fee of $5 and the $2 charge for every hour rented. Therefore, the correct response is:
C = 2H + 5