Let Brandon's age be = b years
Let Michael's age be = m years
As Michael is 12 years older than Brandon, Michael's age, so

Seventeen years ago, Michael was 4 times as old as Brandon, so




Substitute m=b+12



Hence, Brandon's age is 21 years
As m=b+12


Hence, Michael's age is 33 years.