Here's a breakdown:
* J'ai = I have
* dix = ten
* ans = years
So, literally, it translates to "I have ten years."