How to merge roof objects?

I have various shapes as shown in the image below, but when I try to boolean union them, it’s not merging them together and is instead making weird lines and not just merging them into a perfect roof shape. How do i make it work?

Imgur

Hi, for that, it’s very simple follow images instructions :





I hope it can help you !!! :grin: :grin: :grin: