A farmer plans to build a rectangular garden behind his house such that he only needs fencing on 3 sides of the garden. If he wants the second side of the garden to be 30 feet longer than the back of his house, and the area of the garden is going to be equal to 400 square feet, how much fencing dose he need to buy?