The level in question is Perils of the Perplexing Pyramid and comes from Yoshi's Woolly World's secret levels that you unlock on a per world basis, so long as you've collected enough flowers. (nintendotoday.com)
These are the levels in question; by getting at least the specified number of Coins, you can find the special White Mushroom House, accessible from the overworld. (gamerankings.com)
Each stage you see, has multiple objectives to complete such as collecting all the coins, avoiding death and completing the level in question in a particular time. (gamewatcher.com)