the compositional guideline is framing because they both have frames that show beautiful views thru the natural or manmade frames. the first picture is soft lighting and the second one is silhouette. what makes both these photos successful is the fact that they caught my eyes because I saw thru those boarders and not around it, it made those views pop out more.
the compositional guideline for these are line because you can clearly see the lines represented because the lines lead your eyes to see the whole photo. the first picture is diffused lighting, the second one is direct light. these are successful because the lines did lead my eyes throughout the whole picture.