A crate of mass m m\,m is held in equilibrium on a rough ramp inclined at an angle θ \theta\,θ to the horizontal. A horizontal force of magnitude P P\,P is applied to the crate, as shown in the free body diagram below.

Which of the following expressions correctly represents the magnitude of the normal reaction force R R\,R acting on the crate?
R=mgcosθ−PsinθR = mg \cos\theta - P \sin\thetaR=mgcosθ−Psinθ
R=mgsinθ+PcosθR = mg \sin\theta + P \cos\thetaR=mgsinθ+Pcosθ
R=mgcosθ+PsinθR = mg \cos\theta + P \sin\thetaR=mgcosθ+Psinθ
R=mgsinθ−PcosθR = mg \sin\theta - P \cos\thetaR=mgsinθ−Pcosθ