Task: Mathematics
Input (English): x = 7, equation weights = [0, 1, 2, 8, 9]
Output (English): 506