# 2 boxes stacked, force applied to bottom box

2 boxes are stacked vertically, box A on top with box B below. Mass of box A is 15kg. Mass of box B is 30kg. There is friction between all surfaces; static coefficient of 0.40, and kinetic coefficient of 0.35. The blocks are stationary when the constant force F is applied to box B (bottom box). Determine the resulting acceleration of box B if (a) F=200N and (b) F = 400N.

For (a) i used the following equations:
sumFy = [N][/s] - [m][/A]g - [m][/B]g = 0
sumFx = F - [f][/B] = ([m][/A] + [m][/B])[a][/B]

This gave me the correct solution for the force applied of 1.01m/s^2. HOWEVER, for the 400N force it does not give me the correct solution. I am setting up the equation incorrectly and/or setting up my FBDs incorrectly. I don't thoroughly understand how to distribute the normal forces correctly. By simple intuition one knows that the upper box will fall off of the lower box as the force applied increases, however I have no idea to apply it. Also, I know that the friction of box A onto B and the friction of box B onto the floor surface both go to the left as the force is applied to the right.

Can anyone give my hints on setting this up properly?? Thanks.

(Not sure why the inserts for subscript and summation aren't working :( )