The two figures are congruent.
The definition of congruence is if two figures or objects have the same shape or size, regardless of how they are placed.
As all the lengths of the sides are all equal (as shown above, where the bases are all 7, and the height are all 3), and that all the angles are equal (all 90°), we can conclude that, yes, the two figures are congruent.
hope this helps