Given that x is directly proportional to y and inversely proportional to Z, x =…