Answer: 2(p-m)/(n-q) D
Step-by-step explanation: Let x be the number of days of rental and y the miles the driver is going to drive.
A equation for Rental Agency A: mx + ny
A equation for Rental Agency B: px + qy
For 2 days, x = 2
A: m2 + ny = 2m + ny
B: p2 + qy = 2p + qy
And we want a function of y when A = B
A = B
2m + ny = 2p + qy
ny - qy = 2p - 2m
y(n - q) = 2(p - m)
y = 2(p - m)/(n - q)