Task: Mathematics
Input (English): x = 9, equation weights = [0, 3, 1]
Output (English): 28