[tex]\tan p=1\iff p=45^o+180^ok,\ k\in\mathbb{Z}[/tex]
We have: [tex]0^o\leq p\leq540^o[/tex]
Therefore
[tex]P=\{45^o,\ 225^o,\ 405^o\}[/tex]