<h3>150 one year subscription and 60 two year subscription were sold</h3>
<em><u>Solution:</u></em>
Let "a" be the number of one year subscription
Let "b" be the number of two year subscription
Cost of each one year subscription = $ 23
Cost of each two year subscription = $ 45
<em><u>I sold 210 subscriptions</u></em>
Therefore,
a + b = 210
b = 210 - a -------- eqn 1
<em><u>The total is 6150 dollars</u></em>
Therefore,
number of one year subscription x Cost of each one year subscription + number of two year subscription x Cost of each two year subscription = 6150

23a + 45b = 6150 -------- eqn 2
<u><em>Substitute eqn 1 in eqn 2</em></u>
23a + 45(210 - a) = 6150
23a + 9450 - 45a = 6150
22a = 3300
a = 150
<em><u>Substitute a = 150 in eqn 1</u></em>
b = 210 - 150
b = 60
Thus 150 one year subscription and 60 two year subscription were sold