Find the accelerations and the friction forces involved :



