solve austy is 22 years older than boboy in 2 years austy will be three times as old as she boboy .how old are they now algebra

put the words into algebra:

a = b+22
a+2 = 3(b+2)

now just find a and b.