Task: Mathematics
Input (English): x = 5, equation weights = [2, 8]
Output (English): 18