A cubiod has total surface area of 50 m2 and lateral surface area is 30 m2. Find the area of its base.