Task: Mathematics
Input (English): x = 6, equation weights = [8, 3, 5]
Output (English): 311