[tex]\boxed{y=k\frac{pd}{w}}[/tex]
Let's explain what direct and indirect variation mean:
[tex]y=kxw[/tex] for some nonzero constant [tex]k[/tex] that is the constant of variation or the constant of proportionality.
[tex]y=\frac{k}{x}[/tex] for some nonzero constant [tex]k[/tex], where [tex]k[/tex] is also the constant of variation.
___________________
In this problem, [tex]u[/tex] varies jointly with [tex]p[/tex] and [tex]d[/tex] and inversely with [tex]w[/tex], being [tex]k[/tex] the constant of proportionality, then:
[tex]\boxed{y=k\frac{pd}{w}}[/tex]