Question: Find an invertible matrix P

How do I find find an invertible matrix P and the diagonal matrix D such that A=PDP. Are there a Maple command that can do that. I need it to an Maple T.A. exam.

A= 

(−3 0 6)
(0 -3 −6)
(0 0 3) 

Please Wait...