Task: Mathematics
Input (English): x = 6, equation weights = [2, 7, 5]
Output (English): 119