Question 659748
x = Pizza Hut
y = Domino's

x = 6118 +/- y (your question stated "had 6118 locations than Domino's" is it more or less?)
x + y = 23,400

Substitute x in the second equation
6118 +/- y + y = 23400 (determine if you are adding or subtracting, see above)
Solve for y by adding like terms.

Plug y back into the first equation and solve for x.