Can we do the intermediate motion like this. what type of constraints we have to give. kindly help us.