1. The meat is cooked the way you like it.
First, I wonder it is grammatical if you omit it from the sentence 1.
2. The meat is cooked how you like it.
Second, I want to know sentence 2 is grammatical and same in meaning with sentence 2.
You're welcome, and your thanks are appreciated, but there's no need to send them in a separate post.
A simple click on the Like button is all you need to do to acknowledge our answers.