Catch the blocks with the right color. Move the catchers at the bottom to match…