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