I don't understand though why you can make w/mlambda I thought it was the otherway around? (in regards to this

w/N sinTheta= m lambda

N= w/(m lambda) * sinTheta

N= w/(m lambda) * x/L

I think I figured it out, you just switch the N and the mlambda, correct?