Task: Mathematics
Input (English): x = 6, equation weights = [7, 9, 1]
Output (English): 307