I'm still confused. In the real world the only value that you control is "x." The street width and curb radius are what they are.
So I assume the problem statement is, given values of y and r, find the value of x that gives the desired distance d. But you would still need an equation for "a." "a" is not an independent variable. It's a function of x, y, and r.