Task: Mathematics
Input (English): x = 4, equation weights = [5, 3, 7, 8, 6]
Output (English): 1622