$${P_x = m(g_x - a_x)}$$