Find the perfect balance

A block of mass m1 sits at rest on a track tilted at a new, larger angle θ. A second mass hangs freely from a string, which runs over a pulley and attaches to the first mass. The coefficient of static friction is μ_s. The blocks don't move at all, so you add paperclips to the hanging mass, one at a time. Finally, you reach the critical mass m2 at which the blocks JUST BARELY don't slide.

Make a free-body diagram for each block. Make a table showing all the forces on each block in the x- and y-directions.

Hint: the axes for one block will be tilted, the axes for the other block will not

Write down equations for total forces in X-direction, and total forces in Y-direction. Both should add up to zero.

What is the critical mass m2?