Rectangle ABCD has 2 vertices on y=-(1/4)x^2 + 9 and 2 vertices on y=(1/2)x^2 -18. find the maximum possible perimeter for rectangle ABCD.