Visual IQ puzzle (MENSA Norway, difficulty 2)
Correct answer: F
Explanation:  Consider each row. When moving from left to right, the image gets rotated by 90 degrees clockwise and a square gets added.