I need help to understand how to work out the following formulae:

a. (€240k * Present Value Annuity(x%, 5 payments)) +

Annual Interest

(€4M * Present Value(x%, 5 periods))

Principal amount

Find x

b. €120,000 * Present Value Annuity (x%) = €309250

Annual Lease Payment Fair Value of asset

Find PVA (x%).