sec x + tan x = 22/7 square both sides
sec^2 x + 2sec x tan x + tan^2 x = 484/49
sec^2 x + 2sec x tan x + (sec^2 x - 1) = 484 / 49
2sec^2x + 2sec x tanx = 484/49 + 1
2secx ( sec x + tan x) = 533/ 49
2 sec x ( 22/7) = 533/49
(44/7) sec x = 533/49 multiply both sides by 7/44
sec x = 533/308
So cos x = 308/533
And we can solve for the sin as follows
sec x + tan x = 22/7
533/308 + sin x / ( 308/533) = 22/7
533/308 + (533/308)sinx = 22/7
(533/308) sin x = 22/7 - 533/308
(533/308) sin x = 435 / 308
sin x = 435 / 533
So
csc x + cot x =
1 / sin x + cos x /sin x =
1/ [ 435/533 ] + (308 /533) / (435/533) =
533/ 435 + 308 / 435 =
831 / 435 =
(29 * 29) / (29 * 15) =
29/15