Let the cost of the TV be x and that of the computer be y, then
x + y = 600 . . . . . . . (1)
0.2x + 0.3y = 165 . . (2)
From (1), x = 600 - y . . . (3)
Putting (3) into (2) gives:
0.2(600 - y) + 0.3y = 165
120 - 0.2y + 0.3y = 165
0.1y = 165 - 120 = 45
y = 45/0.1 = 450
Therefore, the computer cost him $450.