A table holding two trays of cookies and a cake.
A blue cake is sitting on a table
A birthday cake and pastries on a table.
A cake sitting next to a rack full of cookies. 
Platters of cookies are sitting next to a cake on a table.