A cipher machine encodes a number x using the function E(x)=5x−8. To decode a received number y, one must apply the inverse function E−1(y). If the received encoded value is 42, calculate the original number, and determine the linear decoding function.