Let the age of Rashid be x and Zahid be y.
Acc.to the 1st condition;
Acc. to the 2nd condition;
Multiplying (i) by 2;
Subtracting (ii) from (iii);
(-) (+) (-)
Substituting the value of y in (1)
Therefore the age of Rashid is 60 years
and the age of zahid is 40 years.
hope i helped u:)