b = age of Bronski
s = age of Sam
b - s = 22
b = 3s
substitute 3s for b in equation 1
(3s) - s = 22
2s = 22
s = 11
substitute 11 for s in equation 1
b - 11 = 22
b = 33
check by substituting both values into equation 2
(33) = 3(11)