The value of the guaranteed loan is determined by discounting the expected cash flow, which includes the principal amount and coupon payments under the risky rate to the guaranteed rate.