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