The acceleration of the block will be .
If acceleration of block A is a rightward, then acceleration of block B will be: