Collect the items in a horizontal or vertical line and go through the levels. Everything would be simple if not for the black elements that prevent You.