Answer: Yes they could.
Explanation:
The two pairs of sides given are proportional: 3/7 : 9/21
The two triangles have the side:side ratio, meaning they are similar
Because they are similar, their hypotenuses could lie along the same line, not guaranteed, but possible.