Height of one roof is 5.97 m below the other roof
now its displacement in vertical direction is given as
[tex]y = v_i t + \frac{1}{2} at^2[/tex]
[tex]5.97 = 0 + \frac{1}{2}\times 9.8 (t^2)[/tex]
solving above for time
[tex]t = 1.10 s[/tex]
now in the same time cat has to cover the distance between two buildings
so here we can say
[tex]d = v_x \times t[/tex]
[tex]7.22 = v_x \times 1.10[/tex]
solving above for speed
[tex]v_x = 6.54 m/s[/tex]
so speed of cat is 6.54 m/s