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