These math formulas looks scary only because variable names are so long ^^.
I'm NOT an expert, TGF knowledge has for me very little use in Construct. Since Cons provides full support for making events like "if-else" and "binary AND and OR", you can consider writing project in programming language to make "pseudocode" before working with events.
In Construct I haven't been able to put events exactly in the place where mouse pointer is (they always show at the very end). Someone knows any trick to put them in right place with "insert event"? Adding events and then moving them from bottom to top is VERY annoying.