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