This story is probably from Scooby-Doo (Marvel, 1977 series) or Dynomutt (Marvel, 1977 series).
The letter 'W', which looks like a signature or a job number, is written on a blank area of the first page of this story.