In the picture, mg is the weight of the object and N is the normal force. You need to find the projections of the weight on the x- and y-axes. The projection on the y-axis is canceled by the normal force, and the projection on the x-axis creates the acceleration, which you can find from the second Newton's law.