Can anyone help in solving the following doubt?

I have to 3 parameters

Condition 1, condition 2 and condition 3

If Condition 1 or Condition 3 has value 1 then my result should show as
10. How can I do this using if condition.