I understand the use and structure of a noun modifier using standard masu plain past form, eg たなかさんが かったすしは、... etc. etc. The sushi that Tanaka bought... etc. Now it's noun modifier with subject ga, masu verb in plain past, modifying the noun, sushi.
I get that in passive it's the object that's being highlighted, that now forms the subject. And I get direct and indirect passive sentences. No worries.
But what are the rules for using passive to modify a noun and why and when is it preferred over plain masu form?
わたしが たべた Pizzaは きのうのばん ともだちに つかいました。 ok all good.
たべられた Pizza は おいしかったです。/ or should I use a noun to finish sentence, よくham and pineapple です、
I am not really understanding why No2 in passive, is wrong.