Respuesta :

[tex]B= \frac{m+p}{2} \ \ \to \ \ 2B=m+p \ \ \to \ \ m=2B-p[/tex]