Growing patterns

This task is about finding missing numbers and the rule for a number pattern.

Colin had a magic plant. It grew flowers with numbers on it that made up a number pattern.

 

a)
Write in the missing numbers on the flowers.
 
b)
What is the rule for this number pattern?