Let's start by drawing a free body diagram. We have two forces acting on a bag: pulling force and a friction force.
Pulling force is acting under some angle with respect to a ground. This means that we can find horizontal and vertical component of a force. We are only interested in horizontal component as the bag is moving over a horizontal floor.
We use this formula to find the component:

The First Newton law says "if the body is moving at a constant speed the net force acting on an object is zero". This means that horizontal component of a pulling force and a friction force are equal.
Formula for work is:

Where F is force causing the body to move, and s is a distance traveled.

This is our work.
Why did we ignore vertical component?
If we calculate it we will get the value F=41.7N. This is less than the weight of a bag and it is not enough to cause a vertical movement of a bag.