Plotting the diagram of given data, we get

Finding intersection point of 4x+3y+2=0 and 3x−4y−11=0 we get (1,−2)
Now finding the point P by parametric we get,
cosθx−1=sinθy+2=±5
y=−2+5(−54)=−6
x=1+5(53)=4
Now finding distance of point P from line 5x−12y+51=0=∣135(4)−12(−6)+51∣
=∣1320+72+51∣
=13143=11