find a slope to match this graph

0|10

1|6

2|4

3|3

4|2.5

5|2.25

6(and higher)|2.25

the equation ive writen would be: be (last)

but this is to caculate the x: (X/2)+1

but i need it in slope form (for desmos)