The answer is H. Both cab companies will charge the same after 30 miles.
Cab Company Q
15¢ • 30miles = $4.50 ( add the initial fee of $2.50)
$4.50 + $2.50 = $7
Can Company R
20¢ • 30miles = $6.00 ( add the initial fee of $1.00)
$6.00 + $1.00 = $7.00
hope this helped XD