BJT Common Emitter Output Resistance
Do you really want to compute the oupur resistance - including ro1 and ro2 - by hand? You can expect a rather huge expression.
Here is the result from a symbolic calculator:
Note that the transconductance gm is here expressed by h21/h11=FHfe/Rhie and the output resistances as ro=1/Ghoe
(  + Fhfe_Q1 Rhie_Q2 + Ghoe_Q1 Rhie_Q1 Rhie_Q2 + Rhie_Q2 + Rhie_Q1)

(  + Ghoe_Q2 Fhfe_Q1 Rhie_Q2 + Ghoe_Q1 Fhfe_Q2 Rhie_Q1 + Ghoe_Q2 Ghoe_Q1 Rhie_Q1 Rhie_Q2 + Ghoe_Q1 Rhie_Q2 + Ghoe_Q1 Rhie_Q1 + Ghoe_Q2 Rhie_Q2 + Ghoe_Q2 Rhie_Q1)