How To Write If Statement In Math