Trying hard does not guarantee success. But not trying at all does guarantee not-success.
That's also why "what you believe shapes what you achieve".
It might guarantee less pain.
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.