The situation can NOT be represented by that equation. The correct equation for net distance would be
[tex]5 + 5 = 10[/tex]
If John were to reverse his direction and end his journey where he began, the equation for net distance would be
[tex]5 - 5 = 0[/tex]