Let $f(x),g(x)$ be Differentiable functions in their respective domains. Let $m(x)$ be a function whose perpendicular distance from $f(x)$ is always $g(x)$.Then, whats the equation of $m(x)$ in terms of $f(x)$ and $g(x)$.
For example: Let $f(x)=\sqrt{1-x^2}$
$g(x)=sinx$
$m(x)=?$