In English, we say "The cake was eaten by me". In Mandarin, we use the "Bèi" construction.
"The apple was eaten by me."