The cross sections are calculated for the both elastic and inelastic scattering of 6He from 12C and 4He. A phenomenological optical potential is used to describe the elastic scattering. 4He is taken as spherical and inelastic couplings to the first excited states of 6He and 12C are described with collective rotational model and coupled-channels method. Deformation lengths for 6He and 12C are determined from semi-classical nuclear level density model by using Laplace-like formula for the nuclear level density parameter. The comparison of the predicted and the measured cross sections are presented to test the applicability of nuclear level density model to the light exotic nuclei reactions. Good agreement is achieved between the predicted and measured cross sections.