Year 4 Fir Maths The function machine

Today, we had to work out the mystery operations which were happening inside the function machine. For example, when 3 was going in and 7 was going out, the operation could be: x2 + 1

We then made up our own function machine. Can you work out what operations might be happening inside Ella’s?