Facepalm + Lightbulb = A moment of frustration followed by a sudden realization or idea, often associated with someone who is dim-witted.