Task: Mathematics
Input (English): x = 4, equation weights = [2, 0, 4, 3, 7]
Output (English): 595