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