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