factor 1

36x^12

40x^8

2 * 2 * 3 * 3 * x^12

That should help you to factor the second quantity.