You have to fill the below given grid in a manner that every row and column contains the digits 1 to 6. Also, make sure that the squares that are connected with each other must contains the same digit.
There are nine dots in the picture that has been attached with this question. Can you join all the dots by drawing four straight lines without picking up your pen?