If A is a square matrix such that A2 = I , then find the simplified value of (A-I)3+(A+I)3 – 7 A.

Mohammed Athif's image