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