Fully-Parametric Equation

In the attached photo, i want to define a relationship between a and b. I want to say that the sum of these two values (a & b) should be constant and equal to 150.

But i don’t know how I should formulate it with the equations' syntax of SolidWorks.

Is it possible by equations or i need to step into the realm of macros?

SolidworksApi/macros