I don't think Jupyter offers a facility like $\frac{\answer{2}}{4} = 1/2$ for putting answer blanks in the middle of mathematical expressions. For sagemath, code like \sage{derivative(f,x)} also works, even inside an \answer.
An activity in Ximera has state, and this state is synchronized (via Fraser's differential synchronization) with all open clients, so the instructor can watch a student while they work in Ximera, and even edit the page alongside them.