It's not clear from the figure, but I'm going to guess that the ball m has a weight of 1.5N. The force of gravity is pulling down on the ball, and its weight is counter-acted by the normal force of the ramp. That normal force acts at angle x. There is also a third force at play here - the reaction force from the side wall, which I will call . See the attached figure - it shows how all three forces fit together to balance. From this you can see that , so .
2. If , you have the situaton where the ball is simply resting on a table, so of course the normal force is equal to the weight.