Here is a list of books on biblical Hebrew and Greek that can be borrowed or downloaded at archive.org and elsewhere.
Hebrew:
Learning Biblical Hebrew:
Biblical Hebrew by Harrison, R. K. (Roland Kenneth) (1955)
Biblical Hebrew for Beginners by Eickmann, Paul E. and Nass, Thomas P. (n.d.)
A Hebrew Grammar by Wood, C. T. and Lanchester, H. C. O. (1920)
Reference Grammar:
Gesenius’ Hebrew Grammar by Gesenius, Wilhelm; Kautzsch, E. (Emil); Cowley, A. E. (Arthur Ernest) (1910)
Hebrew Lexicon:
Aramaic:
A Grammar of Biblical Aramaic by Rosenthal, Franz (1961)
Greek:
Learning Koine Greek:
The Elements of New Testament Greek by Wenham, John William; Nunn, H. P. V. (Henry Preston Vaughan) (2001)
A Manual Grammar of the Greek New Testament by Dana, H. E. (Harvey Eugene); Mantey, Julius R. (1953)
Grammatical Aids for Students of New Testament Greek by Mueller, Walter (1972)
Reference Grammars and Tools:
A Grammar of the Greek New Testament in the Light of Historical Research by Robertson, A. T. (1923)
Syntax of the Moods and Tenses in New Testament Greek by Burton, Ernest DeWitt (1906)
Greek Lexicons:
Shorter Lexicon of the Greek New Testament by Gingrich, F. Wilbur (Felix Wilbur) (1965)
The Analytical Lexicon to the Greek New Testament by Mounce, William D. (1993)
A Pocket Lexicon to the Greek New Testament by Alexander Souter (1920)
A Greek-English Lexicon by Liddell, Henry George; Scott, Robert (1897)
Interlinear Greek-English New Testaments:
The Interlinear Greek-English New Testament : with lexicon and synonyms by Berry, George Ricker (1981)