You asked

Which is better for family days outdoors on a pentax k x the 18 135mm or the 16 85mm lens?

Here is what the site says about that.

From Pentax K-x: Pentax K-x: A DSLR by Pentax with a 12.4-megapixel APS-C sensor, announced in 2009. Runs on four AA batteries. Specs - Maker: Pentax - Mount: Pentax K - Sensor: APS-C, 23.5 x 15.6mm, crop factor 1.5 - Resolution: 12.4 megapixels - Stabilisation: in the body - Announced: 2009 - Type: DSLR Focal lengths on it Lenses frame like 1.5 times their focal length on full frame: 16mm like 24mm, 23mm like 35mm, ...

From [Pentax smc DA 18-135mm f/3.5-5.6 ED AL [IF] DC WR: Specs](/gear/lenses/pentax-smc-da-18-135mm-f-3-5-5-6-ed-al-if-dc-wr/#specs): - Maker: Pentax - Focal length: 18-135mm (zoom) - Maximum aperture: f/3.5-5.6 (it gets darker as you zoom in) - Made for: APS-C sensors - Mounts: Pentax K - Stabilised: no - Autofocus: yes

Quoted 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}.