I have a confusion with does she have and does she has.

a1) Does she have a good sense of humor ?
a2) Does she has a good sense of humor ?

b1) What she have done to deserved this ?
b2) What she has done to deserved this ?

May i know which is the correct one for the above questions. Thanks for the assistance.
a1) right
a2) wrong

b1) wrong
b2) it should be 'What has she done to deserve this?'

I go

You go

He, she goes

I do

You do

He, she does

I have

You have

He, she has