def determine_redemption_linear(
    months_to_legal_maturity: int, outstanding_balance: float
) -> float:
    """Determine the redemption of linear mortgage.
    
    In month t in case the principal at start of the month is given by outstanding_balance
    """
    return outstanding_balance / months_to_legal_maturity