I am a high school student wondering if the pulley system described below will work, and if so, how to go about it.
Basically, I have a small system where as you pull back an object, it causes two lengths, labeled $d$ and $p$, to move forward. $d$ is dependent on many factors other than just the pulley system, but $p$ is just growing linearly as the object is pulled back. I've determined that the relationship between $d$ and $p$ is: $$p=\sqrt{A+Bd^2}-C$$ Where $A$, $B$, and $C$ are positive constants.
Here is a diagram to visualize how $p$ is connected to the system:
The length $p$ is the distance from the smaller block to the edge of the base. As you pull the object back, the string is pulled which pulls the spring and increases the length $p$. My question is, is there any sort of pulley system or just general construction I can insert between the object you pull and the pulley which is connected to the smaller block such that as you pull the object back, $p$ does not increase at a linear rate, but instead increases at the exact same rate of $d$.