Off the top of my head, LOGO doesn't use STL... so there's that. I only have version 8, does version 6 use STL? If not, perhaps it should be interesting to raise this with your school.
If you open the FBD editor, you can see that it is fairly straightforward to write logic... it takes getting used to, but it's possible to translate from Ladder fairly easily.
Step7 can be used for 21 days without a license, so it would work for you.
To convert between Ladder and the other languages press Ctrl+2 for STL and Ctrl+3 for FBD.
The result will look ok-ish in FBD... but really odd in STL.
Exercise B is interesting because you can't convert it in Step7... however, you can OR that contact with the value 1 to have the same effect.
At the end, this is a useless exercise and your professor should be fired or perhaps start teaching philosophy.