Task: Mathematics
Input (English): x = 8, equation weights = [7, 1, 3, 5]
Output (English): 3677