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