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