Translated Labs
YOU SAID:
That was a price of cake
INTO JAPANESE
それはケーキの値段だった
BACK INTO ENGLISH
it was the price of the cake
それはケーキの値段でした
You've done this before, haven't you.