What is the root word of merely?

It is mere, meaning "pure".

The root word of merely is mere (mere-ly)