The correct option is B X is frictional force and Y is normal force.
Frictional force offers the resistance to the applied force opposing its motion. Thus, it always acts in the direction opposite to that of the motion of the object. So, X is the frictional force.
The normal force is a force acting perpendicular to the surfaces in contact. So, Y is the normal force.