There are only two pieces of cake left.
there are only two slices of cake left
Two pieces of cake sitting on a plate.
a chocolate cake with only two slices left
A couple of pieces of cake sitting on top of a table.