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