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