From the Super Mario Wiki
Retrieved from "https://www.mariowiki.com/index.php?title=Level_2-2%2B&oldid=2666963"
The player has seven seconds to reach the Mini-Mario below before a RamRam reaches and destroys it. To prevent the Mini-Mario from getting destroyed, the player needs to drop fruit above them onto the RamRams below. With the RamRams defeated, the player can fall through a sand platform on the left to reach the Mini-Mario. After collecting the Mini-Mario, the player needs to use a Springboard to get back up onto the starting platform, and they can reach the locked door from there.