I'm unsure where to post this, so sorry if it's in the wrong place.

How can I find an equation for the following function?

Knowing that and that and are linear functions in the form .

I've tried taking to evaluate and then , , etc, to try to see a pattern for , but the only thing I've got so far was:

Which is not a desired expression for the function.

Thanks.