You have the numbers:

You know that:

Solve to get:

You also know that:

Solve to get:

Therefore:

Using the same method you get that:

So you know that:

Substitute:

Solve:

Note that:

Solve:

Therefore:

Using the same methods above you'll find that:

Remember that:

Substitute:

Then:

So the pattern is: