Task: Mathematics
Input (English): x = 10, equation weights = [2, 7, 1]
Output (English): 271