Would I be able to connect two of these. We have 2 buildings on the same property and was looking to connect one to my router, at the garage outlet closest to the house

(My studio is attached to the garage, the garage is the closest point to the house) and then connect it to the first outlet from inside in the house?