The piece of wood on top of one ruin is a perfect fit to fix the roof on the other. Move it over with Ultrahand and position it in place.