Yes, you need to write the G in voice 1, and F to E in voice 2. The stems will automatically go in the right direction. Then write the B+F chord on the 4th beat just in voice 1.
Then you'll have a spare quarter note rest on the 4th beat in voice 2 to clean up - just right click that rest and you can hide it.
-Chris