I'm not entirely sure if this falls under Trig but I thought you would have to use some Trig functions to solve it. Also, the link below is to the drawing of the problem but the written portion is as follows:
Suppose a square ABCD has side length 1. If triangle APQ is inscribed in the square such that angle PAQ has measure 45 degrees, find the perimeter of triangle CPQ.
The picture:
imgur: the simple image sharer
Thank you for your help.