Covert dolfin to dolfinx

Hi,
I would like to know how can I convert dolfin to dolfinx?

Thanks, in advance!

The syntax is similar. Following the DOLFINx tutorial and looking at the python and C++ demos is probably all you need to see the differences.