x = number of 2 bedrooms units
y= number of 3 bedroom units
194 condominiums
x+y = 194 (a)
the total number of rooms in the entire complex is 494
2x + 3y = 494 (b)
We have the system of equations:
x+y = 194 (a)
2x + 3y = 494 (b)
Solve (a) for x
x = 194-y
Replace x on (b) and solve for y
2 (194-y ) + 3 y = 494
388 - 2y +3 y = 494
-2y+3y = 494-388
y= 106
Replace y on (a) and solve for x
x + 106 = 194
x = 194-106
x= 88
2-bedroom units = 88
3- bedrooms units = 106