If x and y are positive integers such that y is a multiple of 5…