We are given the following situation:
We are given that a rock is on equilibrium on top of a boulder. The forces acting on the boulder are the weight of the boulder, given by:
Where:
And the normal force that acts in a direction perpendicular to the surface of contact between the rock and the boulder.
Since the rock stays on top this means that the net force on the boulder is zero. This means that the sum of all the forces acting on the rock is zero.