Prompt TASKER: Shutdown after 10min after power is disconnected, how to do this?

Ok, I have a Nexus 7, and I have successfully managed to start Car Home Ultra, wifi and bt when the powercable is connected.

But what I don't manage are to do this:

- when power is disconnected wait 10 min and than shutdown the tablet.
- exception: If power is restored within this time, do not turn off the tablet

can someone tel me how to do this?
PS: step by step, I have never used tasker
Attached Thumbnails
Click image for larger version

Name:	Screenshot_2014-05-20-18-49-52.png
Views:	10
Size:	31.8 KB
ID:	2754195   Click image for larger version

Name:	Screenshot_2014-05-20-18-50-05.png
Views:	10
Size:	45.3 KB
ID:	2754196