Task: Mathematics
Input (English): x = 6, equation weights = [4, 2, 3, 8, 0]
Output (English): 5772