The acceleration of system of two bodies over the wedge as shown in figure is