We know that:
DEALER A.
$2,000 upfront and $150 per month after.
DEALER B.
$500 upfront and $200 per month after.
To know the answer, first, we need to represent each offer as an equation.
In the first case, dealer A has a rate of 150 (money per month), and 2000 is the independent term of the linear equation, so we express this like

Where x is months.
In the second offer, dealer B has a rate of 200, and the independent term is 500. So, its equation is

Now we have both equations, we substitute the second into the first one

Then, we solve for x

We divide the equation by 50

This means the payment will be equal after 30 months.