Can a right triangle be formed using these squares

Yes. The two smaller squares have a sum of 169 which is the value of the larger square.
a^2 + b^2 = c^2
25 + 144 = 169
It can be done. Notice the figure below shows you how to arrange the squares to give the answer of a^2 + b^2 = c^2