Let x be the number of hits Sanchez had so that Washington had x+12 hits. Since they got a total of 366 hits, we can write:
Solve for x:
Subtract 12 from both sides:
Divide both sides by 2:
Using this value of x, Washington had 189 hits and Sanchez had 177 hits.