Based on what you listed... Here is what I suggest:
Rent in Newton area near a T stop. You will be able to find a place with a yard, some green space, walkable, and close to public transport. It won't be cheap but nowhere in public-transport-Boston is both cheap and safe.