Pamela is 12 years older than her brother. Last year, she was thrice as old as her brother. How old is Pamela now?

P = B+12

(P-1) = 3(B-1)

P-1 =3B-3

substitute for P using first equation

B+12-1 =3B -3

14 = 2B
B = 7
P = 19

last year they were 6 and 18.