Task: Mathematics
Input (English): x = 1, equation weights = [3, 8, 7]
Output (English): 18