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