Answer:
The workdone by P is 
Explanation:
Generally workdone is mathematically represented as

Where F is the force and d is the distance
The total workdone = (Workdone by Force P + Workdone by frictional force )
The difference in kinetic energy

Substituting 5.6 J for
and 4.0 J for 

This change in kinetic energy of the block = The total kinetic energy
The workdone by the frictional force is

the negative sign shown that the force is moving in the opposite direction
substituting 1.2 N for
and 0.5 m for d


Making Workdone by Force P the subject in the above equation we
Workdone by Force P (
) = The total workdone(
) - 
Substitution values

