You asked

What is the cheapest lens I can add to my pentax k x for everyday walking photos?

The guide can't name the cheapest lens for your Pentax K-x, because its pages don't give prices. For everyday walking photos, though, a standard zoom plus one fast prime covers most of what you'll shoot. The Pentax K-x page lists every lens that fits, and these three suit walking well:

The K-x has stabilisation in the body, which steadies the camera when you shoot handheld while walking. It doesn't freeze moving people, so a bright lens still matters more for dim scenes. The sensor sizes guide explains why the K-x's APS-C sensor gives these focal lengths their equivalent framing.

If budget is the main constraint, check the current prices on each lens's catalogue page yourself and pick the one you can afford.

Written by Claude from this site's pages.

From these pages

This answer is for the question above. Each answer is written for the exact question in its address, so a question with its details in it (a budget, what you shoot, what you already have) gets an answer about those details. An answer draws on all 15 pages of the guide and its catalogue of 320 cameras and 1050 lenses. Another question gets its own answer at its own address, as words after /ask/. Or fill in your own: /ask/which-camera-for-{what-you-shoot}-under-{budget}-euros or /ask/which-lens-for-{what-you-shoot}-on-{your-camera}.