It depends on the question as to whether they are paying off the debt or whether they are taking over the debt. Usually they are taking over the debt.
If they are paying the debt then the payment will be the market value of the debt (unless told otherwise). As regards paying the equity, it will be the market value of the debt subject to any premium payables as per the question.