It’s not my answer but I think it’s correct!
Answer:15 miles
Step-by-step explanation:
Subtract 2 from 47 because each ride is $2 then divide 3 from 45 to get 15 miles $3 per mile to check you could multiply to 15 to get 45.
Equate whats inside (arguments)
with base period of sine function
and solve for x to get period,

So the period of the graph of the given function is precisely 2.
Hope this helps :)