Task: Mathematics
Input (English): x = 1, equation weights = [8, 9, 6, 7]
Output (English): 30