Task: Mathematics
Input (English): x = 10, equation weights = [0, 2, 4]
Output (English): 24