Task: Mathematics
Input (English): x = 8, equation weights = [4, 6, 8]
Output (English): 312