Task: Mathematics
Input (English): x = 6, equation weights = [8, 5, 2, 7]
Output (English): 1927