Task: Mathematics
Input (English): x = 6, equation weights = [3, 1, 4]
Output (English): 118