A truck can be rented from Company A for β$40 a day plus β$0.40 per mile. Company B charges β$20 a day plus β$0.50 per mile to rent the same truck. Find the number of miles in a day at which the rental costs for Company A and Company B are the same.