2.17
$${P = mg + ma = m(g + a)}$$