J’ai dix ans means I’m ten years old. Avoir can describe a characteristic of someone or something; here it gives a person's age. Use avoir with a number and ans, years, rather than être. You already know j’ai and tu as: choose the form for the person. Dix means ten; the ages in this lesson take plural ans.
Vingt means twenty. The age frame stays the same: J’ai vingt ans.
Trente means thirty. Use ans after this number when talking about age.
Tu as vingt ans ? checks a proposed age. Keep the same avoir + number + ans construction and use the familiar tu as form. Rising intonation makes it a question.
Un âge is an age; the noun is masculine. Ask Tu as quel âge ? when you do not know the number. In this everyday spoken question, quel âge follows avoir; keep the verb form for the person. Here, use familiar tu as. This asks for an age instead of checking a proposed number.