Let's assume
Raj's age is x years
Zia's age is y years
we are given
Raj is three years older than zia
so, we get

now, we can solve for y

the sum of the squares of their ages is 369
so, we get

now, we can plug back y

now, we can solve for x





Since, age can not be negative
so, we will only consider positive

now, we can find y-value


So,
Raj's age is 15 years
Zia's age is 12 years...........Answer