**Example**: Solve the following system of equations using substitution

f(n) =

To solve this, we substitute equation 1 for y in equation 2

Now that we know the value of x, we can plug it back into equation 1 to find the value of y.

So our final answer is x = 2 and y = 4