Artificial intelligent assistant

The sum of the current ages of Ahmad and Henry is $54$. The sum of the current ages of Ahmad and Henry is $54$. When Ahmad were the same age as Henry's current age, Henry was $18$. What is Ahmad's current age? Here is what I thought $A + H = 54$ $A-t = H, H = 18$ $t$ = passed time I can't think anyhing more. Can I get your thinkings?

$$A + H = 54$$ $$A-t = H$$ $$H-t=18$$ Three equations, three unknowns.

xcX3v84RxoQ-4GxG32940ukFUIEgYdPy 612a9a8433344363135d30817c525137