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