We will use a system of equations to solve this. Let
x be the number of basic phones sold and
y be the number of upgraded phones sold. The equation to represent the sales would be
30
x + 100
y = 900 (because each basic phone sells for $30 and each upgraded phone sells for $100, and the store did $900 in sales that day).
The equation to represent the cost to the store would be
5
x + 25
y = 200 (because each basic phone costs the store $5 and each upgraded phone costs the store $25, and the store had a cost of $200 that day).

We will use elimination to solve this. Make the coefficients of
x the same by multiplying the bottom equation by 6:

Now we can eliminate the
x's by subtracting:

Divide both sides by 50:

There were 6 upgraded phones sold on Tuesday.