Task: Mathematics
Input (English): x = 1, equation weights = [6, 8, 2, 5, 3]
Output (English): 24