A boy and his sister's age is 24.the sister is 6years more older than the boy. Find boy's age and his sister's age?

b+s = 24

s = b+6
now just solve for b and s