When she only had 1 stone, she needed 4 flowers. One on either side and one in front and one in back.
x
x O x
x
When she had 3 stones,, it took 8 flowers. Let's see what that would look like:
x x x
x O O O x
x x x
The next step is to figure out the rule. Everytime we have a stone, we need a flower on each side. That means 2 flowers for every stone. But then we still need to add the flowers on either end. That means +2.
SOOO:
if s=the number of stones used
The number of flowers needed = 2s+2
From here you can easily create your graph :-)