I trust you're all well.

I have labelled this as an intermediate equation although to some, this may seem elementary (please forgive my ignorance).

Looking to solve for Y;

Y = 4500/P + 625 + 87.5[(5821.43 - Y)/28.57]

I'm given the solution of;

Y = 1107.69/P + 4542.31

Have spent a good hour or so trying to deduce the steps in between (it's part of example in a textbook with no indication as to how the solution is derived). I want to ensure I understand the steps before moving on.

Are there any kind mathematicians who can assist?

Your time and assistance will be much appreciated,

Thanks,

H.