Task: Mathematics
Input (English): x = 6, equation weights = [2, 6, 9]
Output (English): 117