Task: Mathematics
Input (English): x = 5, equation weights = [3, 0, 2, 6]
Output (English): 391