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