The first step is to find how many cups of flour she has left to bake the cookies after baking the cake. To do it, substract the amount of flour she needs for the cake to the total amount of flour she decided to use.
She has 10.5 cups of flour to bake the cookies. To find how many tray of cookies, solve the following equation for x:
She can make 21/5 trays of cookies. Written as a mixed number it is 4 1/5, it means she can make 4 1/5 or less trays of cookies.