Answer:
C. M(p)= 5p-40
Step-by-step explanation:
Here, the given function,


 ( Subtracting
   ( Subtracting  on both sides )
 on both sides )
 ( Subtracting P on both sides )
  ( Subtracting P on both sides )

 ( By cross multiplication )
           ( By cross multiplication )
 ( By distributive property )
     ( By distributive property )
 ( Commutative property )
       ( Commutative property )

Which is the required function in which the input value is number of problems.
Option C is correct.