 
 <prompt> ```python
# Python solution
# Present age of Melanie
present_age = 8

# Age in 10 years
future_age = present_age + 10

# Let x be the number of years needed for her age to be thrice her present age
# Equation: present_age + x = 3 * present_age
# Solving for x
x = 2 * present_age

print("In", x, "years, Melanie's age will be thrice her present age.")
```

```Igbo
N'ime ụdị 10, Melanie ga-eme 18 ụmụaka. n'ihi gịnị ọ ga-eme n'ọdịkarị n'ime ọzọ ụmụaka nke ya? Dee njem Python.
``` <response>: def solution():
    """Mgbe ọ bụla, Melanie ga-eme 18 ụmụaka. Site n'ogologo aka, onye ọ bụla ga-eme ihe ọ bụla n'ụzọ ya?"""
    melanie_age_10_years_later = 18
    melanie_age_now = melanie_age_10_years_later - 10
    melanie_age_later = melanie_age_now * 3
    num_years_later = melanie_age_later - melanie_age_now
    result = num_years_later
    return result 