Task: Mathematics
Input (English): x = 1, equation weights = [7, 1, 5, 3, 2]
Output (English): 18