As my explanation is poor, let me explain extra.
Of course, 'Do it this way, Do it yourself' is imparative sentence.
My question is these sentences has two objectives(it and this way, it and yourself)
I didn't know that usage, although I looked up the usage of 'do', but I didn't found right definition.