You can use a proportion.
4 hours is to 82 miles as 14 hours is to x miles
4/82 = 14/x
Cross multiply to get
4x = 14 * 82
4x = 1148
x = 287
287 miles
tax gets added to the price of the camera
so the equation is:
x + 0.07x = 45; x = $42.06
I divided the whole number by 2 and that was 1445 and then divided 1445 by 2.50 which was 578 and did the same thing except divided by 7.50 so its 578 kids and 192 adults