Extract strings from output

I am having the following output when executing a dig command :

  dig @1.1.1.1 google.com  +noall +answer +stats


  ; <<>> DiG 9.11.4-P1 <<>> @1.1.1.1 google.com +noall +answer +stats
 ; (1 server found) 

;; global options: +cmd obodrm.prod.at.dmdsdp.com. 86154 IN     A       62.178.85.125 

;; Query time: 1 msec ;; SERVER: 1.1.1.1#53(1.1.1.1) 

;; WHEN: Wed Sep 11 15:04:35 CEST 2019 

;; MSG SIZE  rcvd: 70

I want to filter out and display on a line the following "62.178.85.125" and Query time: 1 msec . Thanks for your help!

After 24 posts, you already know that we endorse you to make an attempt first.

Also, please provide operating system and shell details.

Regards
Peasant.

3 Likes