calculate acceleration of the wedge. Thread is inextensible.