Let's denote the number of lilies Sonya planted as \( L \), the number of daisies as \( D \), and the number of tulips as \( T \).
From the information given:
- She planted 2 times as many tulips as daisies: \( T = 2D \)
- She planted 3 times as many daisies as lilies: \( D = 3L \)
- She planted 42 tulips: \( T = 42 \)
Now we can substitute \( T \) with 42 in the first equation:
\[ 42 = 2D \]
From this, we can solve for \( D \):
\[ D = \frac{42}{2} = 21 \]
Now substituting \( D = 21 \) into the second equation to find \( L \):
\[ 21 = 3L \]
Solving for \( L \):
\[ L = \frac{21}{3} = 7 \]
Now we have:
- \( T = 42 \) (tulips)
- \( D = 21 \) (daisies)
- \( L = 7 \) (lilies)
Now, let's find the total number of flowers she planted:
\[ T + D + L = 42 + 21 + 7 = 70 \]
Thus, the total number of flowers she planted is 70 flowers.