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