I'm trying to replace the motor but I'm unable to remove the chain wheel and bike(batavus wayz e-go 2019).
If what is meant by "chainwheel" is the chainring, then it should be removed by unscrewing these four bolts:
You may need to use two appropriately sized hex keys, or a hex key and a flat screwdriver (or similar tool) to hold the pieces of these bolt assemblies when unscrewing them.
It is hard to understand what the big bolt in the middle holds, and why it is so scratched. Possibly it holds the chainring spider (the part that the chainring is attached to)?
More pictures explaining the configuration might help.