You may like to start by having a go at the
Magic Potting Sheds
It may be useful to keep a record of your trials.
Try working backwards from the number of plants in the last garden
(remembering that you must always have whole numbers of plants in
the gardens and shed).
Describing the different stages algebraically may be helpful.