Y is -45 N and X is 30.
When learning about forces, you have to understand that everything will cancel out on an object. So if the normal force is 45, to cancel it, the force of gravity has to be the negative of it. The same idea goes to frictional force. If the frictional force is -30 N, then to cancel it out, it has to be 30 N.