Let building B=x
And building A= x-160
So your equation would be
x+x-160=1520
You need to combine like terms
2x-160=1520
Then you need to add 160 to both sides
2x=1680
To get x, divide both sides by 2
x=840
Now you need to plug x in.
Building A=840-160=680
Building B=x=840