Amount of flour Helena accidentally poured [tex]=5\frac{1}{6} =\frac{31}{6}[/tex] cups of flour.
Amount of flour the cake requires [tex]=3\frac{1}{2} =\frac{7}{2}[/tex] cups of flour.
Amount of flour that Helena should take out [tex]=\frac{31}{6} - \frac{7}{2}[/tex]
[tex]=\frac{31}{6} - \frac{7 \times 3}{2\times 3}[/tex]
[tex]=\frac{31}{6} - \frac{21}{6}[/tex]
[tex]=\frac{31-21}{6}[/tex]
[tex]=\frac{10}{6}[/tex]
[tex]=\frac{5}{3}[/tex]
[tex]=1\frac{2}{3}[/tex] cups of flour.