I agree with SunshineStay: doable but tough.
In Munich, *if* your flight from TLL is on time, you would have no problem. You are going from one Schengen country ton another, so there is no passport control and no second security check. You just need to walk from one gate to the other. This is like a domestic connection at a major US airport, say like Denver. But even in US domestic traffic, 35 minutes can be pretty short!
SunshineStay already covered FRA, so I won't repeat it.
Obviously, if you ticket and misconnect, it's Lufthansa's problem to rebook you and get you to your destination. If you don't have any premium seating and you don't need to be back right on time, then you could chance it. Otherwise...