Definition: The task is to generate the correct answer for a given math problem.
Input: Problem: john builds a square with a side of 12 cm from some wire . if from the same wire , he builds a rectangle with a width of 6 cm , what will be the length of the rectangle ?
