solve by using a system of equations.

in one city, cabs are allowed to charge $2.25 plus $.15 a mile. in another city, cabs charge $1.50 plus $.18 a mile. after how many miles would the fares in both cities be the same?

2.25 + .15x = 1.50 + .18x

solve for x