Task: Mathematics
Input (English): x = 7, equation weights = [7, 6, 4]
Output (English): 389