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