A cell phone provider offers a plan that costs $30 per month plus $0.20 per text message sent or received. A comparable plan costs $40 per month but offers unlimited text messaging. How many text messages would have to be sent or received in order for the plans to cost the same each month?