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