Let the present ages of the boy and his brother be years and years.
According to the question:
Present ages of the boy years Present age of his brother years years
Thus, the present ages of the boy and his brother are 18 years and 7 years, respectively.