Suppose the area under the curve y=xe^(-mx) from 0 to 1 is 0.4. Find m.

You did not say where your difficuly lies.

Can you find the integral or do you already have that ?