Respuesta :

The answer is r = p/2n - x/n