a - length of side of a square
t - length of side of a triangle
The perimeter of a square: 
The perimeter of a triangle: 
We have the area of a triangle: 
The formula of an area of an equilateral trinagle: 
Substitute:
<em>multiply both sides by 4</em>
<em>divide both sides by
</em>

The perimeter of a triangle: 
Substitute to the formula of a perimeter of a square:
<em>divide both sides by 4</em>

The formula of a diagonal of a square: 
Substitute:

4/3 x 7=9.3333
4/3 x 8=10.666
Can't go over 10, so you can only make 7 batches.
Hope I've helped!
Answer:
219.6 days
Step-by-step explanation:
3(x-8)=12
I got this equation since there are three of the "x-8" sections that add up to the twelve length bar above
28 bags if you include the cat food (which you would)