Task: Mathematics
Input (English): x = 10, equation weights = [3, 1]
Output (English): 31