Hi,
Regarding TSny's answer. For me is correct, the force of body A that acts on body B is m_A g. In the Body B there is one normal, N_b, that is the reaction of the surface between the body B and the plane.
Regarding Kuruman's answer, if I do it that way I immediately get the correct result...