To find slant height $ s $ use Pythagorean Theorem:
$$ h^2 + \frac{ a^2 }{ 4 } = s^2 $$After substituting $ h = 2 $ and $ a = 2 $ we have:
$$ 2^2 + \frac{ 2^2 }{ 4 }= s^2 $$ $$ 4 + \frac{ 4 }{ 4 }= s^2 $$ $$ 4 + 1 = s^2 $$ $$ s^2 = 5 $$ $$ s = \sqrt{ 5 } $$