Given,
Function f(x)=2x−x2,x∈R
Now, plotting the diagram of y={2}^{x}&y={x}^{2} we get,

Now, from above diagram total point of intersection are three
∴m=3
Now, finding f′(x)=2xln2−2x=0
2xln2=2x
Now, again plotting the diagram of y={2}^{x}\mathrm{ln}2&y=2x we get,

So, from above diagram total point of intersection is two
∴n=2
Hence, m+n=5