## hard direchlet function

for the equation here

Can someone give me a hint to prove it is a density...
I am really stuck on this one, I think I am supposed to integrate this twice , but i am not sure how to.