Since diagonal is given u can find out the side length and assuming on vertex to be at the origin U can find equations of lines.Please make sure that three faces of the square should be on xy, yz, xz planes.
Then if u can use skew lines property.
Please check in for the process.