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