Present random shape, then fixed order (assignment help)

I have gone this far. However, there is still something wrong with shapes coming from the right. They keep overlapping with each other when I press ‘j’. Can you please kindly how to solve this?