You need to position the crop in such a way that all the crops get ample amount of sunlight. Each crop grows to different heights. Corn reaches 7 feet, tomatoes reach 6 feet and peppers can grow up to 3 feet. There are a few plants like cucumbers, which grow along the ground. When they are fully grown, the corn plants would create shade for the tomatoes and the tomatoes would do the same on the peppers and cucumber. Thus, when you plan to have a set of plants, rank them according to their height. Place the shortest one first, on the path of the sun.