Task: Mathematics
Input (English): x = 10, equation weights = [0, 3, 9, 1]
Output (English): 391