Tableau Problem (Expected 'END' to match 'IF' at character 0)

Hello,

Please, I need some help with the following Tableau statement

IF ([Option] = "Run"
OR IF [Option] = "Walk"
OR IF [Option] = "Jog"
AND IF [Distance] = "Near
OR IF [Distance] = "Far" THEN 1
ELSE 0 END)

This is a SQL Server Forum and as such will not give you as good results for Tableau as a Tableau forum would yield.