A quadrilateral has 4 sides and each side has a different label. Top side is (4 x squared + 8 x) inches. Left side is 31 inches. Right side is (3 x squared minus 5 x + 20) inches. Bottom side is (7 x + 30) inches. Find the perimeter of the quadrilateral. If x = 2, the perimeter is inches.