Solution (source code)

= Solution

By <independence>, the <joint probability density> is the product of the two <uniform distribution> densities:
$$
\boxed{f_{U,V}(u,v)=\mathbf1_{\{0\le u\le1,\ 0\le v\le1\}}.}
$$
Changing its values on the boundary does not affect any <probability> or <expected value>.