If Then Statements In Math