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