Hi
I am assuming the programming language as C#
You can use Math.Pow() Function to accomplish this in C#. You can refer
[
this.]
You can convert the equation to result with
Math.Pow((x - a), 2) + Math.Pow((mx + c - b), 2) = Math.Pow(r,2);
:) But your equation seems like it should be ended with "Hence Proof"