Okay x=15 the way you find that is because every corner of a square equals 90 degrees and the line through the square cuts them into 45 degrees so the equations you use is 2x +15 =45 and 6x -45=45. Which turn into 2x =30 and 6x=90 the answer to both being x=15.
Hope this helps