in much the same way
以大致同样的方法
in the same way
以相同的方式
You return his greeting in much the same way.
你以相同的方式回敬他的问候.