单项选择题

In the preceding figure, each of the four squares has sides of length 2x. If triangle PQR is formed by joining the centers of three of the squares, what is the perimeter of triangle PQR in terms of x