Find a formula for if .

Answer: