Solution :
let ( Age = x ) Then ,
Now : for Maryam : x + 7 Years ,and for Ahmad : x Years .
Then after two years : for Maryam : x + 9 Years , and for Ahmad : x + 2 Years .
So,after two years
x + 2 = ½ ( x + 9 )
2 x + 4 = x + 9 , Multiplied By 2 ,
2 x - x = 9 - 4
x = 5 #
So, Now Maryam Age Is = 12 Years, After Two Years = 14
And , Ahmad Age Is = 5 Years , After Two Years = 7
End Of Solution.