How to derive the put-call parity?

3.3k Views Asked by At

The following solution seems quite vague to me as I am not too sure how they thought of putting the terms on the right hand side together and similarly for lhs. I know that max(..) is the payoff, but why are we adding the strike to it?

Any help would be really appreciated!

enter image description here