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