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