I wouldn’t spend any time learning Motion Math because it’s been removed from AE in newer versions. Anything that you would absolutely need Motion Math for you can do with a combination of expressions and scripting. The best resource for scripting is the AE Scripting Guide pdf. It’s a pretty steep learning curve until you get familiar with AE’s object hierarchy, but it’s worth the trouble.