Task: Mathematics
Input (English): x = 5, equation weights = [6, 1]
Output (English): 31