dont be scared look at it from mathematical point of view

i just want to understand how they transform the painting to the integral

cant understand what is ds

and why it equals rd(phy)

maybe the confused phu with teta(cause i dont see phi)

i still cant see what that means

?