Ответ:

Tanya has got twelve pencils.

(а) Has Tanya got twelve pencils?

(б) How many pencils has Tanya got?