Also Can Be Phrased:
piece of cake
Easy to do or accomplish.
Many believe that this idiom came into usage because dessert, especially cake, is usually the most anticipated part of a meal and therefore, easy to eat.
That calculus problem was surprisingly a piece of cake!
This time I knew what to do so it was a piece of cake.