does anyone know the output?

Answer:
3 = 10
4= 12
5=14
10= 24
Step-by-step explanation:
2 is added to each value