Task: Mathematics
Input (English): x = 4, equation weights = [7, 8, 0, 5]
Output (English): 581