39 + 0.16m = 25 + 0.24m
39 - 25 = 0.24m - 0.16m
14 = 0.08m
14 / 0.08 = m
175 = m <=== they will cost the same at 175 miles
39 + 0.16(175) = 39 + 28 = $ 67
25 + 0.24(175) = 25 + 42 = $ 67
they will both cost $ 67 <=====
No they wouldn't be the same because, the perimeter is adding all sides.
The square has 4 sides so you would add 9, four times.
9 + 9 + 9 + 9 = 36
And a pentagon has 5 sides so you would add 9, five times.
9 + 9 + 9 + 9 + 9 = 45
So, they are not the same.
Hope this helps. :)