Some kinds of success are achieved through not doing things. And then we get into the question of "to do" vs. "not to do".
Solve the equation and voila. Doing can be negative if your desired Y goes in that direction from your y-intercept. Remember, you can also control which way axes point.
This can be a multivariate function/equation. It can also have multiple dimensions. The important part is that all of it is definable by you.