Problem: the area of a square garden is a square feet and the perimeter is p feet . if a = 2 p + 20 , what is the perimeter of the garden , in feet ?
Rationale: "perimeter of square = p side of square = p / 4 area of square = ( p ^ 2 ) / 16 = a given that a = 2 p + 20 ( p ^ 2 ) / 16 = 2 p + 20 p ^ 2 = 32 p + 320 p ^ 2 - 32 p - 320 = 0 p ^ 2 - 40 p + 8 p - 320 = 0 p ( p - 40 ) + 8 ( p + 40 ) = 0 ( p - 40 ) ( p + 8 ) = 0 p = 40 or - 8 discarding negative value , p = 40 answer is c"
annotated_formula: subtract(subtract(add(const_10, multiply(20, 2)), const_0_25), const_0_25)