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