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