The first one is not similar but the second one is
For the second on if you flip the smaller trapezoid (vertically and horizontally)then the corresponding angles are decreased by a factor of 3
15/3=5
24/3=8 and so on
The first one does not have a pattern like this so that is why they are not similar