YOU SAID:
my grandma eats the potato on the cupboard
INTO JAPANESE
私のおばあちゃんは食器棚のポテトを食べる
BACK INTO ENGLISH
My grandmother eats potatoes in the cupboard
INTO JAPANESE
祖母は食器棚でジャガイモを食べる
BACK INTO ENGLISH
My grandmother eats potatoes in the cupboard
That didn't even make that much sense in English.