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