How to identify the loops to apply Kirchhoff's voltage law in these circuits?
For the first circuit 







simulate this circuit &ndash; Schematic created using CircuitLab

First loop (Blue) 

$$V_{CC} - I_BR_B+Vbe = 0$$

Second loop (Red) 

$$V_{CC} - I_CR_C - V_{CE}$$

And for the second circuit with voltage divider:







simulate this circuit



Input loops
(Blue)
$$V_{CC} - (I_B+I_2)R_1 - I_2R_2=0$$ 
(Green)
$$ I_2R_2 = V_{BE}+I_ER_E$$ 

And the output loop

(Red)
$$V_{CC} - I_CR_C - V_{CE} -I_ER_E $$