Sin theta plus cos theta =45°

Theta=?

Plz...solve it step by step.. 
sachin kumar's image