Help me please!! asap!

The equation represent the situation is:
First let x be number of small apartment
Since the total apartment is 18
Then number of large apartment is 18 – x
So the equation is:
17,600 = 800x + 1200(18-x)
Simplifying
17,600 = 800x + 21,600 – 1200x
400x = 4000
X = 10