Remember that
tan45=1
If the tangent is negative
then
the angle must lie in II quadrant or IV quadrant
therefore
the solutions for x are
II quadrant
x=180-45=135 degrees
IV quadrant
x=360-45=315 degrees
therefore
the solutions are 135 degrees and 315 degreesant