What is the difference between dydx and ddx in Calculus?


In Calculus, when we write dydx, it means we are differentiating the function y with respect to its variable x. For example if y=3x2 then to find dydx means we will be differentiating y but by paying attention to only the variable x which yields dydx=6x, even if a function has multiple variables say y=3x2+2y3z and we are to find dydx, it means our differentiation will only pay attention to the variable x, ignoring the other variables y and z, this is the genesis of partial differentiation.
But when we write d()dx it means we are to differentiate the x's in the brackets. For example y=d(x23)dx=2x same thing applies to x=d(t52t2+1)dt=5t44t