Let's suppose we are given a linear polyonmial
$$\begin{align}f(x) = ax + b\end{align}$$
where a and b is known which satisfies this equation
$$\begin{align}y^3 - f(x) \equiv 0\mod(n) \end{align}$$ where n is RSA modulus.
Is there any way to solve for pair(x,y)?
Follow-up question: If there is restriction where only those values of x are allowed for which $$\begin{align}f(x)<n \end{align}$$