Answer:
C. M(p)= 5p-40
Explanation:
Here, the given function,


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

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

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