Sorry, that is incorrect.

God only placed one prohibition.

"The Lord God commanded the man, saying, 'From any tree of the garden you may eat freely; but from the tree of the knowledge of good and evil you shall not eat, for in the day that you eat from it you will surely die.'" (Gen 2:16-17)