the acceleration of pulley P1 is a upwards and the acceleration of block 1 is a1 upwards.