Task: Mathematics
Input (English): x = 3, equation weights = [5, 9, 1, 7]
Output (English): 226