Text this: Description of photoabsorption using photon strength function with the excitation of two resonance states