Number of pages $= 2^{64}/(8 \times 2^{12}) = 2^{49}.$ (virtual address space is in bits)
PTE size being $4$ bytes page table size will be $2^{49} \times 4 = 2^{51}$ bytes.
For inverted page table number of entries $ = 2GB/4KB = 2^{19}.$
Each PTE being eight bytes for inverted page table, size of inverted page table $ = 2^{19} \times 8 = 2^{22}$ bytes.