it was a piece of cake

It was a piece of cake is a way of saying something was very easy to do. There is no factual evidence of when this idiom first began, but it has been used for several decades as a cliched term for anything someone has done and wants to show how simple it was. This can be in reference to anything which they have already done or will do such as saying it will be a piece of cake to finish.