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