Task: Mathematics
Input (English): x = 9, equation weights = [4, 6, 1, 5, 3]
Output (English): 30747