will save money when Plan A costs you more than 50 dollars
so let say for X mile Plan B is better than Plan A
Hence 30 + 0.1X = 50
Which gives X = 200 miles
so If you want to go for more than 200 miles , Plan B will save money in that case.
Hope this helps ;)